package com.serviceprovider.business.module.order.valueobjects;

//~--- non-JDK imports --------------------------------------------------------

import com.serviceprovider.business.module.order.model.OrderStatus;

public class OrderStatusVO {
    private boolean isActive  = true;
    private boolean isChecked = false;
    private Integer id;
    private String  meaning;
    private String  name;

    public OrderStatusVO() {}

    public OrderStatusVO(OrderStatus status) {
        this.id       = status.getId();
        this.name     = status.getName();
        this.meaning  = status.getMeaning();
        this.isActive = status.isActive();
    }

    public OrderStatusVO(Integer id, String name, String meaning, boolean active) {
        this.id      = id;
        this.name    = name;
        this.meaning = meaning;
        isActive     = active;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMeaning() {
        return meaning;
    }

    public void setMeaning(String meaning) {
        this.meaning = meaning;
    }

    public boolean isActive() {
        return isActive;
    }

    public void setActive(boolean active) {
        isActive = active;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }
}



